﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Car : Brand
    {
        public Car(string name) : base(name)
        {
            this.Nmae = name;
        }

        public void output()
        {
            Console.WriteLine("我是{0}汽车，我不能飞！",base.Nmae);
        }

    }
}
